/*
 * 文件名：MPost.java
 * 版权：Copyright 2007-2015 517na Tech. Co. Ltd. All Rights Reserved. 
 * 描述： MPost.java
 * 修改人：yanshu
 * 修改时间：2015年12月21日
 * 修改内容：新增
 */
package com.feichuang.chineseWoodCarving.model;

import java.util.Date;
import java.util.List;

/**
 * TODO 用户发帖MODEL.
 * <p>
 * TODO 详细描述
 * <p>
 * TODO 示例代码
 * 
 * <pre>
 * </pre>
 * 
 * @author yanshu
 */
public class MPost {

    /**
     * @帖子id编号
     */
    private String keyId;

    /**
     * @发布者类型0：个人，1：企业
     */
    private Integer userType;

    /**
     * @发布者名字（企业则是企业名）
     */
    private String userName;

    /**
     * @用户ID
     */
    private String userId;

    /**
     * @帖子地址
     */
    private String postUrl;

    /**
     * @帖子类型 0：供应信息，1：求购信息
     */
    private Integer postType;

    /**
     * @帖子标题
     */
    private String postTitle;

    /**
     * @帖子内容详细
     */
    private String postContent;

    /**
     * @省份
     */
    private String province;

    /**
     * @产品类型 茶盘、根雕。。。？
     */
    private Integer productType;

    /**
     * @产品类型描诉 茶盘、根雕。。。？
     */
    private Integer productTypeDes;

    /**
     * @发帖时间
     */
    private Date addTime;

    /**
     * @浏览次数 用作排行计算
     */
    private Integer viewsNumber;

    /**
     * @评论数
     */
    private Integer replayNumber;

    /**
     * @帖子评论内容
     */
    private List<MCommentary> commentaryList;

    /**
     * @首页图片地址
     */
    private String firstImageUrl;

    /**
     * @图片列表
     */
    private List<MImageVo> imagevoList;

    /**
     * @逻辑删除标志
     */
    private Integer isDelete;

    /**
     * 设置imagevoList.
     * 
     * @return 返回imagevoList
     */
    public List<MImageVo> getImagevoList() {
        return imagevoList;
    }

    /**
     * 获取imagevoList.
     * 
     * @param imagevoList
     *            要设置的imagevoList
     */
    public void setImagevoList(List<MImageVo> imagevoList) {
        this.imagevoList = imagevoList;
    }

    /**
     * 设置userId.
     * 
     * @return 返回userId
     */
    public String getUserId() {
        return userId;
    }

    /**
     * 获取userId.
     * 
     * @param userId
     *            要设置的userId
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * 设置userName.
     * 
     * @return 返回userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * 获取userName.
     * 
     * @param userName
     *            要设置的userName
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * 设置postUrl.
     * 
     * @return 返回postUrl
     */
    public String getPostUrl() {
        return postUrl;
    }

    /**
     * 获取postUrl.
     * 
     * @param postUrl
     *            要设置的postUrl
     */
    public void setPostUrl(String postUrl) {
        this.postUrl = postUrl;
    }

    /**
     * 设置keyId.
     * 
     * @return 返回keyId
     */
    public String getKeyId() {
        return keyId;
    }

    /**
     * 获取keyId.
     * 
     * @param keyId
     *            要设置的keyId
     */
    public void setKeyId(String keyId) {
        this.keyId = keyId;
    }

    /**
     * 设置postType.
     * 
     * @return 返回postType
     */
    public Integer getPostType() {
        return postType;
    }

    /**
     * 获取postType.
     * 
     * @param postType
     *            要设置的postType
     */
    public void setPostType(Integer postType) {
        this.postType = postType;
    }

    /**
     * 设置postTitle.
     * 
     * @return 返回postTitle
     */
    public String getPostTitle() {
        return postTitle;
    }

    /**
     * 获取postTitle.
     * 
     * @param postTitle
     *            要设置的postTitle
     */
    public void setPostTitle(String postTitle) {
        this.postTitle = postTitle;
    }

    /**
     * 设置commentaryList.
     * 
     * @return 返回commentaryList
     */
    public List<MCommentary> getCommentaryList() {
        return commentaryList;
    }

    /**
     * 获取commentaryList.
     * 
     * @param commentaryList
     *            要设置的commentaryList
     */
    public void setCommentaryList(List<MCommentary> commentaryList) {
        this.commentaryList = commentaryList;
    }

    /**
     * 设置isDelete.
     * 
     * @return 返回isDelete
     */
    public Integer getIsDelete() {
        return isDelete;
    }

    /**
     * 设置postContent.
     * 
     * @return 返回postContent
     */
    public String getPostContent() {
        return postContent;
    }

    /**
     * 获取postContent.
     * 
     * @param postContent
     *            要设置的postContent
     */
    public void setPostContent(String postContent) {
        this.postContent = postContent;
    }

    /**
     * 获取isDelete.
     * 
     * @param isDelete
     *            要设置的isDelete
     */
    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    /**
     * 设置province.
     * 
     * @return 返回province
     */
    public String getProvince() {
        return province;
    }

    /**
     * 获取province.
     * 
     * @param province
     *            要设置的province
     */
    public void setProvince(String province) {
        this.province = province;
    }

    /**
     * 设置productType.
     * 
     * @return 返回productType
     */
    public Integer getProductType() {
        return productType;
    }

    /**
     * 获取productType.
     * 
     * @param productType
     *            要设置的productType
     */
    public void setProductType(Integer productType) {
        this.productType = productType;
    }

    /**
     * 设置productTypeDes.
     * 
     * @return 返回productTypeDes
     */
    public Integer getProductTypeDes() {
        return productTypeDes;
    }

    /**
     * 获取productTypeDes.
     * 
     * @param productTypeDes
     *            要设置的productTypeDes
     */
    public void setProductTypeDes(Integer productTypeDes) {
        this.productTypeDes = productTypeDes;
    }

    /**
     * 设置addTime.
     * 
     * @return 返回addTime
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * 获取addTime.
     * 
     * @param addTime
     *            要设置的addTime
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * 设置viewsNumber.
     * 
     * @return 返回viewsNumber
     */
    public Integer getViewsNumber() {
        return viewsNumber;
    }

    /**
     * 获取viewsNumber.
     * 
     * @param viewsNumber
     *            要设置的viewsNumber
     */
    public void setViewsNumber(Integer viewsNumber) {
        this.viewsNumber = viewsNumber;
    }

    /**
     * 设置replayNumber.
     * 
     * @return 返回replayNumber
     */
    public Integer getReplayNumber() {
        return replayNumber;
    }

    /**
     * 获取replayNumber.
     * 
     * @param replayNumber
     *            要设置的replayNumber
     */
    public void setReplayNumber(Integer replayNumber) {
        this.replayNumber = replayNumber;
    }

    /**
     * 设置firstImageUrl.
     * 
     * @return 返回firstImageUrl
     */
    public String getFirstImageUrl() {
        return firstImageUrl;
    }

    /**
     * 获取firstImageUrl.
     * 
     * @param firstImageUrl
     *            要设置的firstImageUrl
     */
    public void setFirstImageUrl(String firstImageUrl) {
        this.firstImageUrl = firstImageUrl;
    }

    /**
     * 设置userType.
     * 
     * @return 返回userType
     */
    public Integer getUserType() {
        return userType;
    }

    /**
     * 获取userType.
     * 
     * @param userType
     *            要设置的userType
     */
    public void setUserType(Integer userType) {
        this.userType = userType;
    }

}
